package com.ll.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ll.common.utils.PageUtils;
import com.ll.gulimall.product.entity.AttrGroupEntity;
import com.ll.gulimall.product.vo.AttrGroupWithAttrsVo;
import com.ll.gulimall.product.vo.SpuItemBaseAttrVo;
import com.ll.gulimall.product.vo.SpuSaleAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author liliang
 * @email liliang@gmail.com
 * @date 2020-07-30 23:16:45
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);


    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemBaseAttrVo> getAttrGroupWithAttrsBySpuIdCatalogId(Long spuId, Long catalogId);

}

